package com.companyName.sample.data.entity;


import javax.persistence.Table;
import java.io.Serializable;

/**
 * @description：角色资源关联
 * @author：gj
 * @date：2016/03/31 14:51
 */
@Table(name = "t_sys_role_resource")
public class RoleResourcePo implements Serializable {

    private static final long serialVersionUID = -7250242744961556986L;

    private Long id;

    private Long roleId;

    private Long resourceId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getResourceId() {
        return resourceId;
    }

    public void setResourceId(Long resourceId) {
        this.resourceId = resourceId;
    }

    @Override
    public String toString() {
        return "RoleResourcePo{" +
                "id=" + id +
                ", roleId=" + roleId +
                ", resourceId=" + resourceId +
                '}';
    }
}